let arr = [10, 6, 52, 99, 108, 47, 1111, 666, 2021, 3]
console.log(Math.max(...arr));